package com.company.calendar.dto;

import lombok.Data;
import jakarta.validation.constraints.NotNull;

import java.time.LocalDate;

/**
 * 自定义日期DTO
 * 
 * @author System
 * @since 1.0.0
 */
@Data
public class CustomDateDTO {
    
    private Long id;
    
    @NotNull(message = "公司ID不能为空")
    private Long companyId;
    
    @NotNull(message = "自定义日期不能为空")
    private LocalDate customDate;
    
    @NotNull(message = "日期类型ID不能为空")
    private Long typeId;
    
    private String description;
    
    // 关联信息
    private String typeName;
    private String typeCode;
    private String typeColor;
    private Boolean isWorkday;
}


